body, div, dl, dt, dd, ul, ol, li,
h1, h2, h3, h4, h5, h6, pre, code,
form, fieldset, legend, input, button,
textarea, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}
fieldset, img {
	border: 0;
}
:focus {
	outline: 0;
}
address, caption, cite, code, dfn,
em, strong, th, var, optgroup {
	font-style: normal;
	font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}
abbr, acronym {
	border: 0;
	font-variant: normal;
}

input, button, textarea,
select, optgroup, option {
	font-family: inherit;
	font-size: inherit;
	font-style: inherit;
	font-weight: inherit;
}
code, kbd, samp, tt {
	font-size: 100%;
}
input, button, textarea, select {
	*font-size: 100%;
}
body {
	line-height: 1.5;
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th {
	text-align: left;
}
sup, sub {
	font-size: 100%;
	vertical-align: baseline;
}
/* remember to highlight anchors and inserts somehow! */
:link, :visited , ins {
	text-decoration: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}


/*通用样式*/
html,body{
  width: 100%;
  height: 100%;
	min-width: 1200px;
  overflow: hidden;
  font-size: 13px;
  font-family: 'microsoft yahei';
  color: #444444;
}
.center-box{
	width: 1200px;
	margin: 0 auto;
}
.clearfix:after{
	display: block;
	content: "";
	clear: both;
}
.pc-show{
	display: block;
}
.phone-show{
	display: none;
}
/*过渡效果*/
.animate{
	transition: all .3s;
	-moz-transition: all .3s;
	-webkit-transition: all .3s;
	-o-transition: all .3s;
}


/*主样式*/
body{
	background-color: #fff;
}
.main-box{
	display: flex;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
}
.nav-box{
	height: 62px;
	background: #3b3d3e;
	/*background: #1fa0dc;*/
	padding: 0 16px;
	line-height: 62px;
	color: #fff;
	font-size: 20px;
}
.body-box{
	display: flex;
	flex: 1;
}
.body-box .left-box{
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 14px;
}
.left-box .cameras-box{
	flex: 1;
	display: flex;
}
.left-box .plan-box{
	height: 500px;
	padding-top: 14px;
	text-align: center;
	position: relative;
}
.body-box .right-box{
	/*display: flex;
	flex-direction: column;*/
	position: relative;
	width: 320px;
	padding: 14px;
	background: #eaeaea;
	box-shadow: inset 0 0 12px rgba(0,0,0,.06);
}
.right-box .search-box{
	/*height: 220px;*/
	height: 214px;
	border-bottom: 1px dashed #c2c2c2;
	position: relative;
}
.right-box .result-box{
	/*display: flex;
	flex-direction: column;
	flex: 1;*/
	position: absolute;
	top: 234px;
	left: 0;
	right: 0;
	bottom: 14px;
	box-sizing: border-box;
	padding-top: 40px;
}
.result-box>p{
	position: absolute;
	top: 0;
	left: 14px;
	right: 14px;
	height: 26px;
	line-height: 26px;
	color: #808080;
	padding-top: 7px;
	/*text-align: center;*/
}
.result-box>ul{
	/*flex:1;*/
	height: 100%;
	overflow: hidden;
	overflow-y: auto;
	/*margin: 0 -14px;*/
	padding: 0 14px;
}

/*视频播放*/
.cameras-box li{
	flex:1;
	box-sizing: border-box;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	background: #3b3d3e;
	position: relative;
}
.cameras-box li>div{
	position: absolute;
	width: 100%;
	height: 100%;
}

/*平面图*/
.plan-box .plan-img{
	display: inline-block;
	/*height: 100%;*/
	height: 500px;
	position: relative;
}
.plan-img img{
	max-height: 100%;
	opacity: 0.8;
}
.plan-img canvas{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
}
.plan-img .plan-camera{
	position: absolute;
	z-index: 999;
	width: 111px;
	height: 148px;
	box-sizing: border-box;
	padding: 26px 12px 50px;
	background: url(../image/camera_img.png) no-repeat center;
	text-align: left;
}
.plan-img .plan-camera em{
	/*display: inline-block;*/
	float: left;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	/*margin: 4px;*/
	margin: 5px 8px;
	cursor: pointer;
	-webkit-animation-duration: .75s;
	animation-duration: .75s;
	position: relative;
}
.plan-img .plan-camera em.green-one{
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#5ce683), to(#3bc161));
	background:-moz-linear-gradient(top, #5ce683, #3bc161);
	background:-o-linear-gradient(top, #5ce683, #3bc161);
	background:linear-gradient(to bottom, #5ce683, #3bc161);
	border: 1px solid #1eaf47;
	box-shadow: 0 2px 4px rgba(59,193,97,.6);
}
.plan-img .plan-camera em.yellow-one{
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffd674), to(#ff8a22));
	background:-moz-linear-gradient(top, #ffd674, #ff8a22);
	background:-o-linear-gradient(top, #ffd674, #ff8a22);
	background:linear-gradient(to bottom, #ffd674, #ff8a22);
	border: 1px solid #f28a1e;
	box-shadow: 0 2px 4px rgba(255,178,110,.6);
}
.plan-img .plan-camera em.blue-one{
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#75b1ff), to(#4595ff));
	background:-moz-linear-gradient(top, #75b1ff, #4595ff);
	background:-o-linear-gradient(top, #75b1ff, #4595ff);
	background:linear-gradient(to bottom, #75b1ff, #4595ff);
	border: 1px solid #1f6dd5;
	box-shadow: 0 2px 4px rgba(28,94,181,.6);
}
.plan-img .plan-camera em.red-one{
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ff8275), to(#ff5745));
	background:-moz-linear-gradient(top, #ff8275, #ff5745);
	background:-o-linear-gradient(top, #ff8275, #ff5745);
	background:linear-gradient(to bottom, #ff8275, #ff5745);
	border: 1px solid #ed3723;
	box-shadow: 0 2px 4px rgba(255,23,0,.6);
}
.plan-img .plan-camera input{
	position: absolute;
	bottom: 0;
	left: 50%;
	margin-left: -16px;
	width: 32px;
	height: 32px;
	opacity: 0;
	cursor: pointer;
}

/*点详情*/
.plan-box .person-tip{
	position: fixed;
	z-index: 9999;
	width: 286px;
	height: 110px;
	background: #fff;
	box-shadow: 0 3px 7px rgba(0,0,0,.2);
	cursor: default;
	margin: -110px 0 0 -143px;
	-webkit-animation-duration: .4s;
	animation-duration: .4s;
}
.person-tip .check-img{
	float: left;
	width: 84px;
	height: 100%;
	background: #adbbc2;
	cursor: pointer;
}
.person-tip .check-img img{
	/*max-width: 100%;
	max-height: 100%;*/
	width: 100%;
	height: 100%;
}
.person-tip .check-info{
	text-align: left;
	margin-left: 84px;
	padding: 10px 14px 10px 10px;
}
.person-tip .check-info>span{
	line-height: 20px;
}
.person-tip .check-info>p{
	float: right;
	line-height: 24px;
	color: #b1b1b1;
	text-align: center;
	padding: 10px 4px 0 0;
}
.person-tip .check-info>p em{
	display: block;
	font-size: 48px;
	line-height: 1;
}
.person-tip .check-info>p em.green-one{
	color: #3bc161;
}
.person-tip .check-info>p em.yellow-one{
	color: #fba84a;
}

/*中屏摄像头区*/
.middle-camera-box{
	display: none;
	position: absolute;
	top:0;
	left: 0;
	z-index: 999;
	width: 320px;
	height: 200px;
}
.middle-camera-box .closeCamera{
	position: absolute;
	top: 100%;
	left: 50%;
	width: 80px;
	height: 32px;
	margin: 10px 0 0 -40px;
	line-height: 32px;
	text-align: center;
	font: 13px;
	color: #fff;
	background: #0194ea;
	border: none;
	border-radius: 3px;
	cursor: pointer;
}

/*搜索人*/
.person-info{
	background: #fff;
	width: 130px;
	padding: 8px;
	border-bottom: 3px solid #d8d8d8;
	margin: 6px auto 0;
}
.person-info .person-photo{
	width: 130px;
	height: 130px;
	margin-bottom: 12px;
	background: #fff;
	position: relative;
	display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}
.person-info .person-photo>img{
	max-width: 100%;
	max-height: 100%;
}
.person-info .person-photo>label{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	cursor: pointer;
}
.person-info .person-photo>label input{
	opacity: 0;
}
.person-info .search-btn{
	border-radius: 3px;
	width: 100%;
	border: none;
	height: 35px;
	line-height: 35px;
	font-size: 14px;
	color: #fff;
	text-align: center;
	background: #0194ea;
	box-shadow: none;
	cursor: pointer;
}
.person-info .search-btn:hover{
	background: #0ea2f9;
	box-shadow: 0 2px 8px rgba(3,152,240,.2);
}
.person-info .search-btn:active{
	background: #048ee0;
	box-shadow: inset 0 2px 6px rgba(0,0,0,.1);
}

/*检索结果*/
.result-box>p> .checking{
	color: #0193e9;
	padding-left: 24px;
	position: relative;
}
.result-box>p .checking::after{
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	margin-top: -10px;
	width: 20px;
	height: 20px;
	background: url("../image/aim_icon.png") no-repeat center;
	animation: spin 2s infinite linear;
}
@keyframes spin {
		from{
				transform: rotate(0) scale(1);
		}
		50%{
				transform: rotate(0.5turn) scale(0.8);
		}
    to {
        transform: rotate(1turn) scale(1);
    }
}
.result-box>p>em{
	float: right;
}
.result-box>p>em>span{
	color: #0193e9;
	padding: 0 3px;
	font-size: 16px;
}

.result-box>ul li{
	height: 100px;
	padding: 6px 0 14px;
	position: relative;
	animation: addperson .8s;
  -webkit-animation: addperson .8s;
}
@keyframes addperson
{
    from {height: 0;}
    to {height: 100px;}
}
@-webkit-keyframes addperson
{
	from {height: 0;}
	to {height: 100px;}
}
.result-box>ul li::before{
	content: "";
	display: block;
	position: absolute;
	left: 90px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: #c2c2c2;
}
.result-box>ul li::after{
	content: "";
	display: block;
	position: absolute;
	left: 90px;
	top: 50%;
	width: 8px;
	height: 8px;
	background: #adbbc2;
	border: 3px solid #eaeaea;
	border-radius: 50%;
	margin: -7px 0 0 -7px;
}
.result-box>ul li .check-left{
	float: left;
	text-align: right;
	width: 74px;
	height: 100%;
	box-sizing: border-box;
	padding-top: 28px;
	line-height: 1.6;
	position: relative;
	overflow: hidden;
}
.result-box>ul li .check-left span{
	font-size: 15px;
}
.result-box>ul li .check-right{
	margin-left: 105px;
	height: 100%;
	background: #fff;
	box-shadow: 0 3px 7px rgba(0,0,0,.08);
	overflow: hidden;
}
.result-box>ul li .check-right .check-img{
	float: left;
	height: 100%;
	width: 80px;
	background: #adbbc2;
	cursor: pointer;
}
.result-box>ul li .check-img img{
	/*max-width: 100%;
	max-height: 100%;*/
	width: 100%;
	height: 100%;
}
.result-box>ul li .check-right>p{
	margin-left: 80px;
	line-height: 24px;
	color: #b1b1b1;
	text-align: center;
	padding-top: 23px;
}
.result-box>ul li .check-right>p em{
	display: block;
	font-size: 36px;
	line-height: 1;
}
.result-box>ul li .check-right>p em.green-one{
	color: #3bc161;
}
.result-box>ul li .check-right>p em.yellow-one{
	color: #fba84a;
}

/*放大图片*/
.img-bigbox{
    position: fixed;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    overflow: hidden;
    background: rgba(0,0,0,.6);
    cursor: pointer;
    animation: showimg 0.2s;
    -moz-animation: showimg 0.2s;
    -webkit-animation: showimg 0.2s;
    -o-animation: showimg 0.2s;
}
@keyframes showimg
{
    from {opacity: 0;}
    to {opacity: 1;}
}
@-moz-keyframes showimg
{
    from {opacity: 0;}
    to {opacity: 1;}
}
@-webkit-keyframes showimg
{
    from {opacity: 0;}
    to {opacity: 1;}
}
@-o-keyframes showimg
{
    from {opacity: 0;}
    to {opacity: 1;}
}
.img-bigbox img{
    max-height: 95%;
    max-width: 95%;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.img-bigbox .close-imgbox{
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: #000;
    border-radius: 50%;
    cursor: pointer;
    opacity: .8;
}
.img-bigbox .close-imgbox:hover{
    opacity: 1;
}
.img-bigbox .close-imgbox span{
    position: absolute;
    bottom: 10px;
    left: 22px;
    color: #fff;
    font-size: 24px;
}

/*设置相似度*/
.set-similarity{
	position: absolute;
	top: 20px;
	bottom: 38px;
	right: 60px;
}



@media screen and (max-height: 880px){
	.left-box .cameras-box{
		display: none;
	}
	.left-box .plan-box{
		height: 100%;
		padding: 0;
		display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
	}
}


/*适配pc中屏*/
@media (min-width: 1024px) and (max-width: 1450px){


	/*中屏mac笔记本中的样式*/
	@media (min-height: 600px) and (max-height: 790px){

	}
}


/*适配pc小屏*/
@media screen and (max-width: 1200px){
	html,body{
		overflow: inherit;
	}
}
